package com.simtop.hj.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;

public class ExcelEntity extends BaseRowModel {

    @ExcelProperty(index = 0 , value = "工号")
    private String staff_code;
    @ExcelProperty(index = 1 , value = "姓名")
    private String name;
    @ExcelProperty(index = 2 , value = "性别")//readConvertExp
    private String sex;
    @ExcelProperty(index = 3 , value = "联系电话")
    private String tel;
    @ExcelProperty(index = 4 , value = "邮箱")
    private String email;
    @ExcelProperty(index = 5 , value = "微信号")
    private String weixin;
    @ExcelProperty(index = 6 , value = "部门")
    private Integer department_id;
    @ExcelProperty(index = 7 , value = "职位")
    private Integer position_id;

    public String getStaff_code() {
        return staff_code;
    }

    public void setStaff_code(String staff_code) {
        this.staff_code = staff_code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getWeixin() {
        return weixin;
    }

    public void setWeixin(String weixin) {
        this.weixin = weixin;
    }

    public Integer getDepartment_id() {
        return department_id;
    }

    public void setDepartment_id(Integer department_id) {
        this.department_id = department_id;
    }

    public Integer getPosition_id() {
        return position_id;
    }

    public void setPosition_id(Integer position_id) {
        this.position_id = position_id;
    }

    @Override
    public String toString() {
        return "ExcelEntity{" +
                "staff_code='" + staff_code + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", tel='" + tel + '\'' +
                ", email='" + email + '\'' +
                ", weixin='" + weixin + '\'' +
                ", department_id=" + department_id +
                ", position_id=" + position_id +
                '}';
    }
}

